﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;

namespace SocketLib
{
	public class SocketSession
	{
		public Socket ClientSocket { get; set; }
		public string ConnectionName { get; set; }
		public DateTime LastActiveTime { get; set; }

		public SocketSession(Socket clientSocket, string connectionName)
		{
			this.ClientSocket = clientSocket;
			this.ConnectionName = connectionName;
		}


		public SocketSession(Socket clientSocket)
			: this(clientSocket, string.Empty)
		{

		}
	}
}
